const express = require('express')
const MangerRouter = express.Router()

// 导入manager
const ManagerHandler = require('../router_handler/manager')

// 获取manager数据
MangerRouter.get('/users', ManagerHandler.GetManager)

// 更改manager状态
MangerRouter.put('/users/:id/state/:state', ManagerHandler.ChangeManagerState)

module.exports = MangerRouter